package com.dozenx.game.engine.Role.bean;

import cola.machine.game.myblocks.model.AABB.SimpleAABB;
import javafx.geometry.Bounds;
import org.lwjgl.util.vector.Vector3f;

/**
 * Created by colamachine on 19-8-20.
 */
public class Collider {
    boolean enabled;
    boolean isTrigger;
    public SimpleAABB bounds;
    public Collider clone(){
        Collider collider =new Collider();
        collider.bounds =new SimpleAABB(this.bounds.minX,this.bounds.minY,this.bounds.minZ,
                bounds.getWidth(),bounds.getHeight(),bounds.getDepth());
        return collider;
    }
}
